<?php 

class Admin_Form_ItemAdjustment extends Custom_Form_Abstract{
	
	public function init(){
		$this->addElement('hidden', 'orderItemsId', array(
			'decorators'	=>	$this->hiddenDecorators,
		));
		$this->addElement('hidden', 'orderId', array(
			'decorators'	=>	$this->hiddenDecorators,
		));
		$this->addElement('text', 'adjustmentValue', array(
			'decorators'	=>	$this->elementDecorators,
        	'label'		=>	'Value',
        	'required'   => false,
		));
		/*$this->addElement('select', 'adjustmentReason', array(
			'decorators'	=>	$this->elementDecorators,
        	'label'		=>	'Reason',
			'multiOptions'	=>	Doctrine_Core::getTable('Doctrine_Model_ItemAdjustments')->getEnumValues('adjustmentReason'),
        	'required'   => false,
		));*/
		$this->addElement('textarea', 'adjustmentNote', array(
			'decorators'	=>	$this->elementDecorators,
        	'label'		=>	'Note',
			'rows'		=> 4,
			'cols'		=> 20,
        	'required'   => false,
		));
		$this->addElement('submit', 'adjustItem', array(
        	'decorators' => $this->buttonDecorators,
			'label'		=>	'Adjust Item'
        ));
	}
}